/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
using System.Collections.Generic;

using Aliyun.Acs.Core;
using Aliyun.Acs.Core.Http;
using Aliyun.Acs.Core.Transform;
using Aliyun.Acs.Core.Utils;
using Aliyun.Acs.Sas;
using Aliyun.Acs.Sas.Transform;
using Aliyun.Acs.Sas.Transform.V20181203;

namespace Aliyun.Acs.Sas.Model.V20181203
{
    public class ListCheckResultRequest : RpcAcsRequest<ListCheckResultResponse>
    {
        public ListCheckResultRequest()
            : base("Sas", "2018-12-03", "ListCheckResult")
        {
            if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
            {
                this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Sas.Endpoint.endpointMap, null);
                this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Sas.Endpoint.endpointRegionalType, null);
            }
			Method = MethodType.POST;
        }

		private List<string> standardIdss = new List<string>(){ };

		private List<string> riskLevelss = new List<string>(){ };

		private List<string> instanceTypess = new List<string>(){ };

		private string checkKey;

		private int? pageSize;

		private string lang;

		private List<string> vendorss = new List<string>(){ };

		private int? currentPage;

		private List<string> requirementIdss = new List<string>(){ };

		private List<string> sortTypess = new List<string>(){ };

		private List<string> instanceIdss = new List<string>(){ };

		private List<string> statusess = new List<string>(){ };

		public List<string> StandardIdss
		{
			get
			{
				return standardIdss;
			}

			set
			{
				standardIdss = value;
			}
		}

		public List<string> RiskLevelss
		{
			get
			{
				return riskLevelss;
			}

			set
			{
				riskLevelss = value;
			}
		}

		public List<string> InstanceTypess
		{
			get
			{
				return instanceTypess;
			}

			set
			{
				instanceTypess = value;
			}
		}

		public string CheckKey
		{
			get
			{
				return checkKey;
			}
			set	
			{
				checkKey = value;
				DictionaryUtil.Add(QueryParameters, "CheckKey", value);
			}
		}

		public int? PageSize
		{
			get
			{
				return pageSize;
			}
			set	
			{
				pageSize = value;
				DictionaryUtil.Add(QueryParameters, "PageSize", value.ToString());
			}
		}

		public string Lang
		{
			get
			{
				return lang;
			}
			set	
			{
				lang = value;
				DictionaryUtil.Add(QueryParameters, "Lang", value);
			}
		}

		public List<string> Vendorss
		{
			get
			{
				return vendorss;
			}

			set
			{
				vendorss = value;
			}
		}

		public int? CurrentPage
		{
			get
			{
				return currentPage;
			}
			set	
			{
				currentPage = value;
				DictionaryUtil.Add(QueryParameters, "CurrentPage", value.ToString());
			}
		}

		public List<string> RequirementIdss
		{
			get
			{
				return requirementIdss;
			}

			set
			{
				requirementIdss = value;
			}
		}

		public List<string> SortTypess
		{
			get
			{
				return sortTypess;
			}

			set
			{
				sortTypess = value;
			}
		}

		public List<string> InstanceIdss
		{
			get
			{
				return instanceIdss;
			}

			set
			{
				instanceIdss = value;
			}
		}

		public List<string> Statusess
		{
			get
			{
				return statusess;
			}

			set
			{
				statusess = value;
			}
		}

		public override bool CheckShowJsonItemName()
		{
			return false;
		}

        public override ListCheckResultResponse GetResponse(UnmarshallerContext unmarshallerContext)
        {
            return ListCheckResultResponseUnmarshaller.Unmarshall(unmarshallerContext);
        }
    }
}
